#include<stdio.h>
#include<time.h> 
 
int main(void)
{
 
   time_t t;
 
   t = time(NULL);
   printf("%ld\n", t);
   time_t timer;
   struct tm y2k = {0};
   double seconds;
   y2k.tm_hour=0;
   y2k.tm_min=0;
   y2k.tm_sec=0;
   y2k.tm_year=100;
   y2k.tm_mon=0;
   y2k.tm_mday=0;
   time(&timer);
   seconds=difftime(timer, mktime(&y2k));
   printf("%ld\n", seconds);
 
   return 0;
 
}
